const express = require('express')

const app = express()

// 配置静态资源，访问记得加.html
// /home.html
app.use(express.static('static'))
// /static/home.html
app.use('/static',express.static('static'))

app.listen(3000,() => {
  console.log('3000 serve running...')
})